export const tableOption = {
  selection: true,
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "delBtn":false,
  tip: false,
  "column": [
    {
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "线路编码",
      "prop": "lineCode",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "车站编码",
      "prop": "stationCode",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      type: "select",
      label: "发票类型",
      prop: "invoiceType",
      cascaderItem: ["invoiceMoney"],
      dicUrl: '/admin/dict/type/support_receipt_type',
      search: true,
      rules: [{
        required:"true",
        message: '请选择发票类型',
        trigger: 'blur'
      }]
    }, {
      type: "select",
      label: "面额",
      prop: "invoiceMoney",
      dicFlag: false,
      props: {
        label: 'priceArea',
        value: 'name'
      },
      dicUrl: `/support/swparamreceipt/dict/byType/{{key}}`,
      editDisabled:false,
      rules: [{
        required:"true",
        message: '请选择面额',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "发票名称",
      "prop": "invoiceName",
      disabled:true,

    }, {
      "type": "input",
      "label": "发票起始号",
      "prop": "invoiceStart",
      editDisabled:false,
      rules: [{
        required:"true",
        message: '请输入发票起始号',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "发票终止号",
      "prop": "invoiceEnd",
      editDisabled:false,
      rules: [{
        required:"true",
        message: '请输入发票终止号',
        trigger: 'blur'
      }]
    }, {
      "label": "发放日期",
      "prop": "sendDate",
      editDisabled:false,
      search: true,
      "type": 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required:"true",
        message: '请选择发放日期',
        trigger: 'blur'
      }]
    }, {
      "type": "number",
      "label": "数量",
      "prop": "sendNumber",
      editDisabled:false,
      rules: [{
        required:'true',
        message: '请输入数量',
        trigger: 'blur'
      }]
    }, {
      "type": "number",
      "label": "使用数量",
      "prop": "useNumber",
      rules: [{
        required:true,
        message: '请输入使用数量',
        trigger: 'blur'
      }]

    }, {
      "type": "number",
      "label": "结存数量",
      "prop": "balanceNumber",
      hide: true,
      addDisplay: false,
      editDisplay: false,
    }, {
      "type": "select",
      "label": "领用人",
      "prop": "recipientName",
      search: true,
      props: {
        label: 'nikename',
        value: 'userCode'
      },
      filterable: true,
      dicUrl: `/admin/user/page/byStation`,
      editDisabled:false,
      rules: [{
        required:"true",
        message: '请选择领用人',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "领用人工号",
      "prop": "recipientCode",
      disabled:true,
    }, {
      "type": "input",
      "label": "确认人",
      "prop": "confirmName",
      hide: true,
      addDisplay: false,
      editDisplay: false,
    }, {
      "type": "input",
      "label": "确认人工号",
      "prop": "confirmCode",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      span:24,
      rules: [{
        message: '请输入备注',
        trigger: 'blur'
      }]

    }, {
      "type": "input",
      "label": "部门ID",
      "prop": "deptId",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }, {
      "type": "input",
      "label": "删除:1 未删除0",
      "prop": "delFlag",
      hide: true,
      addDisplay: false,
      editDisplay: false
    }]
}
